<include file="header" />
<script type="text/javascript" src="__PUBLIC__/js/goucha.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/chkbox.js"></script>
<script type="text/javascript">
    window.onload= function(){
        chkBox('chkbox','tids[]');
        chagou('imgstatus','__APP__');
    };

</script>
<style type="text/css">
    table td{
        width:15%;
    }
</style>
<form action="__MODULE__/column/batDelChaCol" method="post">
    <table class="tableb">
        <tr class="tbtitle">
            <td colspan="4" class="tdsearch"> </td>
            <td>
                <span class="rightop" style="width:110px;"><a href="__MODULE__/column/addCha">添加文字栏目</a></span>
            </td>
        </tr>
        <tr class="contitle">
            <td><input type="checkbox" value="all" id="chkbox" />编号</td>
            <td>栏目名称</td>
            <td>形式</td>
            <td>更新时间</td>
            <td>操作</td>
        </tr>
        <foreach name="list" item="value" >
        <tr class="content conline">
            <td><input type="checkbox" name="tids[]" value="{$value.tid}" />{$value.tid}</td>
            <td>{$value.name}</td>
            <td>{$value.style}</td>
            <td>{$value.updatetime}</td>
            <td>
                <a href="__MODULE__/column/editCha/tid/{$value.tid}">编辑</a>
                <a href="__MODULE__/column/deleteOneCha/tid/{$value.tid}" onclick="javascript:return confirm('你确定要删除该数据吗？')">删除</a>
            </td>
        </tr>
        </foreach>
        <tr class="content conline">
            <td><input type="submit" value="批量删除" name="goBatDel" /></td>
        </tr>
    </table>
</form>
<p>
        <div id="page">
        {$page}
        </div>
</p>
        <style type="text/css">
            div#page div{
                height: 100px;
                text-align: center;
                font-size: 25px;
            }

            div#page a{
                font-size: 25px;
            }
        </style>
<include file="footer" />
